/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Cart;

import DTO.Item;
import java.util.List;

/**
 * this interface defines the discount services.
 * @author tejinder
 * @see Cart
 */
public interface IDiscountManager {

    /**
     * only item level discount is required for item details page, no need to check store card
     * @param item
     * @return
     */
      public Item checkDiscountOnItem(Item item);

      /**
       * Gets and sets the discounts for all the items in the result set
       * @param list
       * @param isLoggedIn
       * @return
       */
      public  List<Item> setResultsDiscounts(List<Item> list, boolean isLoggedIn);


}
